<script lang="ts" setup>
const props = defineProps({
    money: Number,
    car: {
        type: String,
        default: '奔驰'
    }
})
// console.log('props.car -----> ', props.car);
</script>

<template>
    <div>我是子组件 - {{money}} - {{car}}</div>
</template>